﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Wz.Enum;

namespace Wz.Entities
{
    /// <summary>
    /// 物资申领
    /// </summary>
    public class ProApply : BasicAggregateRoot<Guid>
    {
        public string Title { get; set; }//标题
        public string Info { get; set; }//用途描述
        public string Receiver { get; set; }//领用人
        public DateTime? ClaimTime { get; set; }//领用日期
        public string Remarks { get; set; }//备注
        public DateTime CreateTime { get; set; } = DateTime.Now;//创建日期
        public AuditState States { get; set; }//审批状态
        public string StateName { get; set; }//审批人

        /// <summary>
        /// 构造函数
        /// </summary>
        public ProApply()
        {

        }
        public ProApply(Guid id, DateTime createTime, String title, String info, String receiver, DateTime? claimTime, String remarks, AuditState state, String stateName)
        {
            Id = id;
            CreateTime = createTime;
            Title = title;
            Info = info;
            Receiver = receiver;
            ClaimTime = claimTime;
            Remarks = remarks;
            States = state;
            StateName = stateName;
        }
    }
}
